package com.wenyu.wenyuyuedu.utils;

/**
 * Created by Administrator on 2017/2/22.
 */
import java.util.Date;
import java.text.SimpleDateFormat;
public class DataUtils {

    private static SimpleDateFormat s;

    /*时间戳转换成字符窜*/
    public static String getDateToString(String time) {
        Date d = new Date(time);
        s = new SimpleDateFormat("yyyy年MM月dd日");
        return s.format(d);
    }
}
